#ifndef SENDVERIFICATIONCODE_H
#define SENDVERIFICATIONCODE_H

#include <QObject>
#include <QProcess>
#include <QVector>
class SendVerificationCode : public QObject
{
    Q_OBJECT
public:
    static SendVerificationCode* gethand()
    {
        if(sendcodehand == nullptr)
            sendcodehand = new SendVerificationCode();
        return sendcodehand;
    }
    void send(QString phone_num, QString verification_code);
    bool CheckNumber(QString verification_code);
private:
    explicit SendVerificationCode(QObject *parent = nullptr);
    static SendVerificationCode* sendcodehand;
    QVector<QString> verification_code_data;
signals:

};

#endif // SENDVERIFICATIONCODE_H
